﻿
namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// OP80钎焊记录查询对象
    /// </summary>
    public class DcOp140RecordQueryDto : PagerInfo
    {
    }

    /// <summary>
    /// OP80钎焊记录输入输出对象
    /// </summary>
    public class DcOp140RecordDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }

        [Required(ErrorMessage = "盖板码不能为空")]
        public string ProductCode { get; set; }

        [Required(ErrorMessage = "综合结果不能为空")]
        public int TotalResult { get; set; }

        [Required(ErrorMessage = "1#止规检测结果不能为空")]
        public int StopGaugeResult1 { get; set; }

        [Required(ErrorMessage = "2#止规检测结果不能为空")]
        public int StopGaugeResult2 { get; set; }

        [Required(ErrorMessage = "1#通规检测结果不能为空")]
        public int GoGaugeResult1 { get; set; }

        [Required(ErrorMessage = "2#通规检测结果不能为空")]
        public int GoGaugeResult2 { get; set; }

        [Required(ErrorMessage = "1#止规检测圈数不能为空")]
        public decimal InspectionCyclesOfStopGauge1 { get; set; }

        [Required(ErrorMessage = "2#止规检测圈数不能为空")]
        public decimal InspectionCyclesOfStopGauge2 { get; set; }

        [Required(ErrorMessage = "1#通规检测圈数不能为空")]
        public decimal GoGaugeDetectCycles1 { get; set; }

        [Required(ErrorMessage = "2#通规检测圈数不能为空")]
        public decimal GoGaugeDetectCycles2 { get; set; }

        [Required(ErrorMessage = "创建时间不能为空")]
        public DateTime? CreatedTime { get; set; }

        [Required(ErrorMessage = "IsDeleted不能为空")]
        public bool IsDeleted { get; set; }



        [ExcelColumn(Name = "IsDeleted")]
        public string IsDeletedLabel { get; set; }
    }
}